package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created by
 *
 * @author touni
 * @date 2019/4/11
 * @time 18:12
 */
/*@EnableDiscoveryClient   //这个注解通用性强，可以用来表示多种的注册中心的客户端  还需要在
@SpringBootApplication*/

@SpringCloudApplication   //相当于三个注解一起用
public class ConsumerApp {


    public static void main(String[] args) {
        SpringApplication.run(ConsumerApp.class,args);

    }
}
